package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.entity.Resume;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 你爸爸
 * @description 针对表【resume(简历表)】的数据库操作Mapper
 * @createDate 2023-12-12 18:36:34
 * @Entity com.example.demo.entity.Resume
 */
@Mapper
public interface ResumeMapper extends BaseMapper<Resume> {

    List<Resume> selectByUserId(Integer id);


    List<Resume> selectAll();

    IPage<Resume> selectByPage(Page<Resume> page);

}




